package com.mcms.web.vo;

/**
 * dwzresult页面需要携带的数据对象
 * {"statusCode":"200", "message":"操作成功", "navTabId":"navNewsLi", "forwardUrl":"", "callbackType":"closeCurrent"}
 * {"statusCode":"300", "message":"操作失败"}
 * {"statusCode":"301", "message":"会话超时"}
 * @author 
 */
public class DWZResult {
	private String statusCode;// 状态码：200成功；300错误；301服务超时；
	private String message;// 显示的消息:
	private String navTabId;// 显示在哪个页签ID中：
	private String rel;// 
	private String callbackType;// callbackType如果是closeCurrent就会关闭当前tab
	                            // 只有callbackType="forward"时需要forwardUrl值
	private String forwardUrl;// 执行的URL
	private String confirmMsg;// 确认消息
	
	public String getStatusCode() {
		return statusCode == null ? "" : statusCode;
	}

	public void setStatusCode(String statusCode) {
		this.statusCode = statusCode;
	}

	public String getMessage() {
		return message == null ? "" : message;
	}

	public void setMessage(String message) {
		this.message = message;
	}

	public String getNavTabId() {
		return navTabId == null ? "" : navTabId;
	}

	public void setNavTabId(String navTabId) {
		this.navTabId = navTabId;
	}

	public String getRel() {
		return rel == null ? "" : rel;
	}

	public void setRel(String rel) {
		this.rel = rel;
	}

	public String getCallbackType() {
		return callbackType == null ? "" : callbackType;
	}

	public void setCallbackType(String callbackType) {
		this.callbackType = callbackType;
	}

	public String getForwardUrl() {
		return forwardUrl == null ? "" : forwardUrl;
	}

	public void setForwardUrl(String forwardUrl) {
		this.forwardUrl = forwardUrl;
	}

	public String getConfirmMsg() {
		return confirmMsg == null ? "" : confirmMsg;
	}

	public void setConfirmMsg(String confirmMsg) {
		this.confirmMsg = confirmMsg;
	}

}